<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>传统模式</title>
</head>
<body>
<div id="msg"></div>
<script>
  let msg = 'Hello World'
  let div = document.getElementById('msg');
  div.innerText = msg;
</script>
</body>
</html>